<?php

/**
 * listClub actions.
 *
 * @package    cpfaizenay
 * @subpackage contact
 * @author     Manu
 * @version    1.0
 */
class listClubActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request) {
      $this->clubList = Doctrine::getTable('Club')->getClubList()->fetchArray();
      $this->forward404Unless($this->clubList);

      isicsBreadcrumbs::getInstance()->addItem("Liste des clubs de tennis de table", '#');

      $response = $this->getResponse();
      Utils::setSlogTitle('Liste des clubs de tennis de table', $response);
  }

}